package com._dev.social.service;

import com._dev.social.mode.domain.Comments;
import com._dev.social.mode.domain.request.CommentsRequest;
import com._dev.social.mode.domain.response.CommentWithUserDTO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【comments】的数据库操作Service
* @createDate 2024-11-09 14:05:37
*/
public interface CommentsService extends IService<Comments> {
    void saveComment(CommentsRequest comment);
    List<CommentWithUserDTO> getCommentsWithUserByPostId(Long tid);
    List<CommentWithUserDTO>getAllThreadCommentByUserId(String userId);
}
